<?php if (!defined('THINK_PATH')) exit(); echo W('Template/top');?>
<div class="wrapper clearfix content" style='border: 1px solid #ddd'>
    <?php echo W('Template/left');?>
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：<a href="<?php echo U('Tour/index',array('id'=>I('get.id')));?>">产品列表</a>&gt;新增路线&gt;扩展信息</div>
        <div class="cTitle2">扩展信息</div>
        <div class="nav ckAct">
            <span><a
                    href="<?php if($aid == 0): echo U('Tour/add',array('id'=>I('get.id'))); else: echo U('Tour/add',array('id'=>I('get.id'),'tid'=>$aid)); endif; ?>"
                    class="a-1"><i class="i-1"></i>基本信息</a></span>
            <span><a style="cursor: pointer" onclick="addPlan(<?php echo ($aid); ?>)" class="a-2"><i class="i-2"></i>详细行程</a></span>
            <span class="active"><a
                    href=" <?php if($aid == 0): echo U('Tour/addExtend',array('id'=>I('get.id'))); else: echo U('Tour/addExtend',array('id'=>I('get.id'),'tid'=>$aid)); endif; ?>"
                    class="a-3"><i class="i-3"></i>扩展信息</a></span>
            <span><a style="cursor: pointer" onclick="addSku(<?php echo ($aid); ?>)" class="a-4"><i class="i-4"></i>团期/位控</a></span>
            <input type="hidden" id="planadd" value="<?php echo U('Tour/addPlan',array('id'=>I('get.id')));?>"/>
            <input type="hidden" id="skuadd" value="<?php echo U('Tour/addSku',array('id'=>I('get.id')));?>"/>
            <input type="hidden" value="<?php echo U('Tour/add',array('id'=>I('get.id')));?>" id="addtourinfo"/>
            <input type="hidden" value="<?php echo U('Tour/addExtend',array('id'=>I('get.id')));?>" id="addExtend"/>
        </div>
        <div class="panelCon">
            <table class="baseInfo-Tb table-hover">
                <tr>
                    <th>产品特色：</th>
                    <td>
                        <script id="editor1" type="text/plain" name="desc"><?php echo ($userInfo["description"]); ?></script>
                    </td>
                </tr>
                <tr>
                    <th>注意事项：</th>
                    <td>
                        <script id="editor2" type="text/plain" name="notice"><?php echo ($userInfo["notice"]); ?></script>
                    </td>
                </tr>
                <tr>
                    <th>费用包含：</th>
                    <td>
                        <script id="editor3" type="text/plain" name="include"><?php echo ($userInfo["fee_include"]); ?></script>
                    </td>
                </tr>
                <tr>
                    <th>费用不包含：</th>
                    <td>
                        <script id="editor4" type="text/plain" name="exclude"><?php echo ($userInfo["fee_exclude"]); ?></script>
                    </td>
                </tr>
                <tr>
                    <th>&nbsp;</th>
                    <td>
                        <input type="button" value="保存" class="btn btn-warning pull-right editExtend" onclick="addExtend(<?php echo ($aid); ?>, '<?php echo (setEncrypt($aid)); ?>')"/>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>
<?php echo W('Template/bottom');?>
<script type="text/javascript" charset="utf-8" src="http://cdn.lydlr.com/public/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="http://cdn.lydlr.com/public/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="http://cdn.lydlr.com/public/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/Public/js/addtour.js?v=1"></script>
<script type="text/javascript">
    var ue = UE.getEditor('editor1');
    var ue = UE.getEditor('editor2');
    var ue = UE.getEditor('editor3');
    var ue = UE.getEditor('editor4');
</script>
</body>
</html>